package com.one.service;



import com.one.bean.Activity;
import com.one.bean.Category;
import com.one.bean.Product;
import com.one.bean.ProductView;

import java.util.List;
import java.util.Map;

/**
 * @author: tzy
 * @create: 2022/1/14
 * @FileName: HomePageService
 * @Description: 首页展示业务接口
 */
public interface HomePageService {
    /**
     * @author: tzy
     * @date: 2022/1/14
     * @return:
     * @Description: 查询指定分类的热销商品
     */
    List<Product> findHotProducts(Integer categoryFirst);
    /**
     * @author: tzy
     * @date: 2022/1/14
     * @return:
     * @Description: 查询指定分类的小分类
     */
    List<Category> findCategories(Integer categoryFirst);
    /**
     * @author: tzy
     * @date: 2022/1/17
     * @return:
     * @Description: 查询对应分类的新品
     */
    List<Product> findNewProducts(Integer categoryFirst);


    /**
     * @author: tzy
     * @date: 2022/1/17
     * @return:
     * @Description: 首页限时，秒杀，热销跳转
     */
    List<Activity> findActivities();
}
